package com.wgz.flag.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class ChatMessage {
    private Long id;
    private Long senderId;
    private Long receiverId;
    private Long groupId;
    private String content;
    private Integer messageType; // 1:私聊 2:群聊
    private Integer contentType; // 1:文本 2:图片 3:文件 4:语音
    private Integer status; // 0:发送中 1:已发送 2:已读
    private Integer readStatus;
    private LocalDateTime createTime;
    // 文件相关
    private String fileName; // 文件名
    private Long fileSize; // 文件大小
}